home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 September / september_2000.iso / intercd / root / ^Linux / Jooky / help.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-01  |  1.1 KB  |  26 lines

  1. #include "includes.h"
  2. #include "defines.h"
  3.  
  4. void help()
  5. {
  6. printf("%s version %s\n",iam,(char *)VERSION);
  7. printf("server options\n");
  8. printf(" %s [-Q|-d] [-z] [-f] [-m num] [-w dir] [-t port] [-P passwd]\n",iam);
  9. printf("\n");
  10. printf(" -Q      quiet (for inittab)     -d daemonize     -z  random order\n");
  11. printf(" -m num  use different mp3 player:                -P passwd\n");
  12. for (qq=0;strlen(mp3player[qq].player)!=0;++qq) printf ("           %d %s\n",qq,mp3player[qq].player);
  13. printf(" -f      use futaba display also\n");
  14. printf(" -w dir  use dir as mp3 directory instead of %s\n",mp3directory);
  15. printf(" -t port accept connections on port instead of port %d\n",port);
  16. printf("\n");
  17. printf("\n");
  18. printf("client options\n");
  19. printf("%s [-i host] [-t port] {-q|-p|-c|-n|-b|-r|-T}\n",iam);
  20. printf("\n");
  21. printf(" -i host connect to host (default localhost)           -t port (default %d)\n",PORT);
  22. printf(" -q      stop                    -n   next             -b back\n");
  23. printf(" -p      pause                   -c   continue (unpause)\n");
  24. printf(" -r      restart current title   -T   query current title\n");
  25. }
  26.